package com.bosicloud.cmb.ibp.aws.adapter.service;

import com.amazonaws.services.cloudformation.model.Output;
import com.bosicloud.cmb.ibp.aws.adapter.commom.dto.CreateAwsEnvDTO;
import com.bosicloud.cmb.ibp.aws.adapter.commom.dto.CreateCFStackResponseDTO;
import com.bosicloud.cmb.ibp.aws.adapter.commom.dto.RequestDescribeStackDTO;

import java.util.List;

/**
 * @author Jack Peng / ziliang.peng@bosicloud.com
 */
public interface CloudFormationService {

    /**
     * 创建CF Stack
     * @param awsEnv 环境参数
     */
    CreateCFStackResponseDTO createCFStack(CreateAwsEnvDTO awsEnv);

    /**
     * 显示CFStack信息
     * @param describeStackDTO 请求参数
     * @return
     */
    List<Output> descibeStack(RequestDescribeStackDTO describeStackDTO);
}
